package com.treeliked.pojo;

import java.util.Date;
import java.util.UUID;

/**
 * 基类
 *
 * @author lqs2
 * @date 2018/11/29, Thu
 */
class BaseModel {

    private String id;

    private Date gmtCreateTime;

    public BaseModel() {
        id = UUID.randomUUID().toString().replaceAll("-","" );
        gmtCreateTime = new Date();
    }

    public String getId() {
        return id;
    }

    public Date getGmtCreateTime() {
        return gmtCreateTime;
    }

}
